package com.TTBook.core.book.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class BookInfoCriteria {
    protected String orderByClause;

    protected List oredCriteria;

    public BookInfoCriteria() {
        oredCriteria = new ArrayList();
    }

    protected BookInfoCriteria(BookInfoCriteria example) {
        this.orderByClause = example.orderByClause;
        this.oredCriteria = example.oredCriteria;
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public List getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * This method was generated by Apache iBATIS ibator.
     * This method corresponds to the database table ts_book_info
     *
     *  Wed Oct 16 00:10:47 CST 2013
     */
    public void clear() {
        oredCriteria.clear();
    }

    public static class Criteria {
        protected List criteriaWithoutValue;

        protected List criteriaWithSingleValue;

        protected List criteriaWithListValue;

        protected List criteriaWithBetweenValue;

        protected Criteria() {
            super();
            criteriaWithoutValue = new ArrayList();
            criteriaWithSingleValue = new ArrayList();
            criteriaWithListValue = new ArrayList();
            criteriaWithBetweenValue = new ArrayList();
        }

        public boolean isValid() {
            return criteriaWithoutValue.size() > 0
                || criteriaWithSingleValue.size() > 0
                || criteriaWithListValue.size() > 0
                || criteriaWithBetweenValue.size() > 0;
        }

        public List getCriteriaWithoutValue() {
            return criteriaWithoutValue;
        }

        public List getCriteriaWithSingleValue() {
            return criteriaWithSingleValue;
        }

        public List getCriteriaWithListValue() {
            return criteriaWithListValue;
        }

        public List getCriteriaWithBetweenValue() {
            return criteriaWithBetweenValue;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteriaWithoutValue.add(condition);
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            Map map = new HashMap();
            map.put("condition", condition);
            map.put("value", value);
            criteriaWithSingleValue.add(map);
        }

        protected void addCriterion(String condition, List values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            Map map = new HashMap();
            map.put("condition", condition);
            map.put("values", values);
            criteriaWithListValue.add(map);
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            List list = new ArrayList();
            list.add(value1);
            list.add(value2);
            Map map = new HashMap();
            map.put("condition", condition);
            map.put("values", list);
            criteriaWithBetweenValue.add(map);
        }

        public Criteria andBookInfoIdIsNull() {
            addCriterion("BOOK_INFO_ID is null");
            return this;
        }

        public Criteria andBookInfoIdIsNotNull() {
            addCriterion("BOOK_INFO_ID is not null");
            return this;
        }

        public Criteria andBookInfoIdEqualTo(String value) {
            addCriterion("BOOK_INFO_ID =", value, "bookInfoId");
            return this;
        }

        public Criteria andBookInfoIdNotEqualTo(String value) {
            addCriterion("BOOK_INFO_ID <>", value, "bookInfoId");
            return this;
        }

        public Criteria andBookInfoIdGreaterThan(String value) {
            addCriterion("BOOK_INFO_ID >", value, "bookInfoId");
            return this;
        }

        public Criteria andBookInfoIdGreaterThanOrEqualTo(String value) {
            addCriterion("BOOK_INFO_ID >=", value, "bookInfoId");
            return this;
        }

        public Criteria andBookInfoIdLessThan(String value) {
            addCriterion("BOOK_INFO_ID <", value, "bookInfoId");
            return this;
        }

        public Criteria andBookInfoIdLessThanOrEqualTo(String value) {
            addCriterion("BOOK_INFO_ID <=", value, "bookInfoId");
            return this;
        }

        public Criteria andBookInfoIdLike(String value) {
            addCriterion("BOOK_INFO_ID like", value, "bookInfoId");
            return this;
        }

        public Criteria andBookInfoIdNotLike(String value) {
            addCriterion("BOOK_INFO_ID not like", value, "bookInfoId");
            return this;
        }

        public Criteria andBookInfoIdIn(List values) {
            addCriterion("BOOK_INFO_ID in", values, "bookInfoId");
            return this;
        }

        public Criteria andBookInfoIdNotIn(List values) {
            addCriterion("BOOK_INFO_ID not in", values, "bookInfoId");
            return this;
        }

        public Criteria andBookInfoIdBetween(String value1, String value2) {
            addCriterion("BOOK_INFO_ID between", value1, value2, "bookInfoId");
            return this;
        }

        public Criteria andBookInfoIdNotBetween(String value1, String value2) {
            addCriterion("BOOK_INFO_ID not between", value1, value2, "bookInfoId");
            return this;
        }

        public Criteria andBookidIsNull() {
            addCriterion("BOOKID is null");
            return this;
        }

        public Criteria andBookidIsNotNull() {
            addCriterion("BOOKID is not null");
            return this;
        }

        public Criteria andBookidEqualTo(String value) {
            addCriterion("BOOKID =", value, "bookid");
            return this;
        }

        public Criteria andBookidNotEqualTo(String value) {
            addCriterion("BOOKID <>", value, "bookid");
            return this;
        }

        public Criteria andBookidGreaterThan(String value) {
            addCriterion("BOOKID >", value, "bookid");
            return this;
        }

        public Criteria andBookidGreaterThanOrEqualTo(String value) {
            addCriterion("BOOKID >=", value, "bookid");
            return this;
        }

        public Criteria andBookidLessThan(String value) {
            addCriterion("BOOKID <", value, "bookid");
            return this;
        }

        public Criteria andBookidLessThanOrEqualTo(String value) {
            addCriterion("BOOKID <=", value, "bookid");
            return this;
        }

        public Criteria andBookidLike(String value) {
            addCriterion("BOOKID like", value, "bookid");
            return this;
        }

        public Criteria andBookidNotLike(String value) {
            addCriterion("BOOKID not like", value, "bookid");
            return this;
        }

        public Criteria andBookidIn(List values) {
            addCriterion("BOOKID in", values, "bookid");
            return this;
        }

        public Criteria andBookidNotIn(List values) {
            addCriterion("BOOKID not in", values, "bookid");
            return this;
        }

        public Criteria andBookidBetween(String value1, String value2) {
            addCriterion("BOOKID between", value1, value2, "bookid");
            return this;
        }

        public Criteria andBookidNotBetween(String value1, String value2) {
            addCriterion("BOOKID not between", value1, value2, "bookid");
            return this;
        }

        public Criteria andAuthoridIsNull() {
            addCriterion("AUTHORID is null");
            return this;
        }

        public Criteria andAuthoridIsNotNull() {
            addCriterion("AUTHORID is not null");
            return this;
        }

        public Criteria andAuthoridEqualTo(String value) {
            addCriterion("AUTHORID =", value, "authorid");
            return this;
        }

        public Criteria andAuthoridNotEqualTo(String value) {
            addCriterion("AUTHORID <>", value, "authorid");
            return this;
        }

        public Criteria andAuthoridGreaterThan(String value) {
            addCriterion("AUTHORID >", value, "authorid");
            return this;
        }

        public Criteria andAuthoridGreaterThanOrEqualTo(String value) {
            addCriterion("AUTHORID >=", value, "authorid");
            return this;
        }

        public Criteria andAuthoridLessThan(String value) {
            addCriterion("AUTHORID <", value, "authorid");
            return this;
        }

        public Criteria andAuthoridLessThanOrEqualTo(String value) {
            addCriterion("AUTHORID <=", value, "authorid");
            return this;
        }

        public Criteria andAuthoridLike(String value) {
            addCriterion("AUTHORID like", value, "authorid");
            return this;
        }

        public Criteria andAuthoridNotLike(String value) {
            addCriterion("AUTHORID not like", value, "authorid");
            return this;
        }

        public Criteria andAuthoridIn(List values) {
            addCriterion("AUTHORID in", values, "authorid");
            return this;
        }

        public Criteria andAuthoridNotIn(List values) {
            addCriterion("AUTHORID not in", values, "authorid");
            return this;
        }

        public Criteria andAuthoridBetween(String value1, String value2) {
            addCriterion("AUTHORID between", value1, value2, "authorid");
            return this;
        }

        public Criteria andAuthoridNotBetween(String value1, String value2) {
            addCriterion("AUTHORID not between", value1, value2, "authorid");
            return this;
        }

        public Criteria andPressidIsNull() {
            addCriterion("PRESSID is null");
            return this;
        }

        public Criteria andPressidIsNotNull() {
            addCriterion("PRESSID is not null");
            return this;
        }

        public Criteria andPressidEqualTo(String value) {
            addCriterion("PRESSID =", value, "pressid");
            return this;
        }

        public Criteria andPressidNotEqualTo(String value) {
            addCriterion("PRESSID <>", value, "pressid");
            return this;
        }

        public Criteria andPressidGreaterThan(String value) {
            addCriterion("PRESSID >", value, "pressid");
            return this;
        }

        public Criteria andPressidGreaterThanOrEqualTo(String value) {
            addCriterion("PRESSID >=", value, "pressid");
            return this;
        }

        public Criteria andPressidLessThan(String value) {
            addCriterion("PRESSID <", value, "pressid");
            return this;
        }

        public Criteria andPressidLessThanOrEqualTo(String value) {
            addCriterion("PRESSID <=", value, "pressid");
            return this;
        }

        public Criteria andPressidLike(String value) {
            addCriterion("PRESSID like", value, "pressid");
            return this;
        }

        public Criteria andPressidNotLike(String value) {
            addCriterion("PRESSID not like", value, "pressid");
            return this;
        }

        public Criteria andPressidIn(List values) {
            addCriterion("PRESSID in", values, "pressid");
            return this;
        }

        public Criteria andPressidNotIn(List values) {
            addCriterion("PRESSID not in", values, "pressid");
            return this;
        }

        public Criteria andPressidBetween(String value1, String value2) {
            addCriterion("PRESSID between", value1, value2, "pressid");
            return this;
        }

        public Criteria andPressidNotBetween(String value1, String value2) {
            addCriterion("PRESSID not between", value1, value2, "pressid");
            return this;
        }

        public Criteria andPublishTimeIsNull() {
            addCriterion("PUBLISH_TIME is null");
            return this;
        }

        public Criteria andPublishTimeIsNotNull() {
            addCriterion("PUBLISH_TIME is not null");
            return this;
        }

        public Criteria andPublishTimeEqualTo(Date value) {
            addCriterion("PUBLISH_TIME =", value, "publishTime");
            return this;
        }

        public Criteria andPublishTimeNotEqualTo(Date value) {
            addCriterion("PUBLISH_TIME <>", value, "publishTime");
            return this;
        }

        public Criteria andPublishTimeGreaterThan(Date value) {
            addCriterion("PUBLISH_TIME >", value, "publishTime");
            return this;
        }

        public Criteria andPublishTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("PUBLISH_TIME >=", value, "publishTime");
            return this;
        }

        public Criteria andPublishTimeLessThan(Date value) {
            addCriterion("PUBLISH_TIME <", value, "publishTime");
            return this;
        }

        public Criteria andPublishTimeLessThanOrEqualTo(Date value) {
            addCriterion("PUBLISH_TIME <=", value, "publishTime");
            return this;
        }

        public Criteria andPublishTimeIn(List values) {
            addCriterion("PUBLISH_TIME in", values, "publishTime");
            return this;
        }

        public Criteria andPublishTimeNotIn(List values) {
            addCriterion("PUBLISH_TIME not in", values, "publishTime");
            return this;
        }

        public Criteria andPublishTimeBetween(Date value1, Date value2) {
            addCriterion("PUBLISH_TIME between", value1, value2, "publishTime");
            return this;
        }

        public Criteria andPublishTimeNotBetween(Date value1, Date value2) {
            addCriterion("PUBLISH_TIME not between", value1, value2, "publishTime");
            return this;
        }

        public Criteria andIsbnIsNull() {
            addCriterion("ISBN is null");
            return this;
        }

        public Criteria andIsbnIsNotNull() {
            addCriterion("ISBN is not null");
            return this;
        }

        public Criteria andIsbnEqualTo(String value) {
            addCriterion("ISBN =", value, "isbn");
            return this;
        }

        public Criteria andIsbnNotEqualTo(String value) {
            addCriterion("ISBN <>", value, "isbn");
            return this;
        }

        public Criteria andIsbnGreaterThan(String value) {
            addCriterion("ISBN >", value, "isbn");
            return this;
        }

        public Criteria andIsbnGreaterThanOrEqualTo(String value) {
            addCriterion("ISBN >=", value, "isbn");
            return this;
        }

        public Criteria andIsbnLessThan(String value) {
            addCriterion("ISBN <", value, "isbn");
            return this;
        }

        public Criteria andIsbnLessThanOrEqualTo(String value) {
            addCriterion("ISBN <=", value, "isbn");
            return this;
        }

        public Criteria andIsbnLike(String value) {
            addCriterion("ISBN like", value, "isbn");
            return this;
        }

        public Criteria andIsbnNotLike(String value) {
            addCriterion("ISBN not like", value, "isbn");
            return this;
        }

        public Criteria andIsbnIn(List values) {
            addCriterion("ISBN in", values, "isbn");
            return this;
        }

        public Criteria andIsbnNotIn(List values) {
            addCriterion("ISBN not in", values, "isbn");
            return this;
        }

        public Criteria andIsbnBetween(String value1, String value2) {
            addCriterion("ISBN between", value1, value2, "isbn");
            return this;
        }

        public Criteria andIsbnNotBetween(String value1, String value2) {
            addCriterion("ISBN not between", value1, value2, "isbn");
            return this;
        }

        public Criteria andEditionIsNull() {
            addCriterion("EDITION is null");
            return this;
        }

        public Criteria andEditionIsNotNull() {
            addCriterion("EDITION is not null");
            return this;
        }

        public Criteria andEditionEqualTo(String value) {
            addCriterion("EDITION =", value, "edition");
            return this;
        }

        public Criteria andEditionNotEqualTo(String value) {
            addCriterion("EDITION <>", value, "edition");
            return this;
        }

        public Criteria andEditionGreaterThan(String value) {
            addCriterion("EDITION >", value, "edition");
            return this;
        }

        public Criteria andEditionGreaterThanOrEqualTo(String value) {
            addCriterion("EDITION >=", value, "edition");
            return this;
        }

        public Criteria andEditionLessThan(String value) {
            addCriterion("EDITION <", value, "edition");
            return this;
        }

        public Criteria andEditionLessThanOrEqualTo(String value) {
            addCriterion("EDITION <=", value, "edition");
            return this;
        }

        public Criteria andEditionLike(String value) {
            addCriterion("EDITION like", value, "edition");
            return this;
        }

        public Criteria andEditionNotLike(String value) {
            addCriterion("EDITION not like", value, "edition");
            return this;
        }

        public Criteria andEditionIn(List values) {
            addCriterion("EDITION in", values, "edition");
            return this;
        }

        public Criteria andEditionNotIn(List values) {
            addCriterion("EDITION not in", values, "edition");
            return this;
        }

        public Criteria andEditionBetween(String value1, String value2) {
            addCriterion("EDITION between", value1, value2, "edition");
            return this;
        }

        public Criteria andEditionNotBetween(String value1, String value2) {
            addCriterion("EDITION not between", value1, value2, "edition");
            return this;
        }

        public Criteria andBindingIsNull() {
            addCriterion("BINDING is null");
            return this;
        }

        public Criteria andBindingIsNotNull() {
            addCriterion("BINDING is not null");
            return this;
        }

        public Criteria andBindingEqualTo(String value) {
            addCriterion("BINDING =", value, "binding");
            return this;
        }

        public Criteria andBindingNotEqualTo(String value) {
            addCriterion("BINDING <>", value, "binding");
            return this;
        }

        public Criteria andBindingGreaterThan(String value) {
            addCriterion("BINDING >", value, "binding");
            return this;
        }

        public Criteria andBindingGreaterThanOrEqualTo(String value) {
            addCriterion("BINDING >=", value, "binding");
            return this;
        }

        public Criteria andBindingLessThan(String value) {
            addCriterion("BINDING <", value, "binding");
            return this;
        }

        public Criteria andBindingLessThanOrEqualTo(String value) {
            addCriterion("BINDING <=", value, "binding");
            return this;
        }

        public Criteria andBindingLike(String value) {
            addCriterion("BINDING like", value, "binding");
            return this;
        }

        public Criteria andBindingNotLike(String value) {
            addCriterion("BINDING not like", value, "binding");
            return this;
        }

        public Criteria andBindingIn(List values) {
            addCriterion("BINDING in", values, "binding");
            return this;
        }

        public Criteria andBindingNotIn(List values) {
            addCriterion("BINDING not in", values, "binding");
            return this;
        }

        public Criteria andBindingBetween(String value1, String value2) {
            addCriterion("BINDING between", value1, value2, "binding");
            return this;
        }

        public Criteria andBindingNotBetween(String value1, String value2) {
            addCriterion("BINDING not between", value1, value2, "binding");
            return this;
        }

        public Criteria andImpressionIsNull() {
            addCriterion("IMPRESSION is null");
            return this;
        }

        public Criteria andImpressionIsNotNull() {
            addCriterion("IMPRESSION is not null");
            return this;
        }

        public Criteria andImpressionEqualTo(String value) {
            addCriterion("IMPRESSION =", value, "impression");
            return this;
        }

        public Criteria andImpressionNotEqualTo(String value) {
            addCriterion("IMPRESSION <>", value, "impression");
            return this;
        }

        public Criteria andImpressionGreaterThan(String value) {
            addCriterion("IMPRESSION >", value, "impression");
            return this;
        }

        public Criteria andImpressionGreaterThanOrEqualTo(String value) {
            addCriterion("IMPRESSION >=", value, "impression");
            return this;
        }

        public Criteria andImpressionLessThan(String value) {
            addCriterion("IMPRESSION <", value, "impression");
            return this;
        }

        public Criteria andImpressionLessThanOrEqualTo(String value) {
            addCriterion("IMPRESSION <=", value, "impression");
            return this;
        }

        public Criteria andImpressionLike(String value) {
            addCriterion("IMPRESSION like", value, "impression");
            return this;
        }

        public Criteria andImpressionNotLike(String value) {
            addCriterion("IMPRESSION not like", value, "impression");
            return this;
        }

        public Criteria andImpressionIn(List values) {
            addCriterion("IMPRESSION in", values, "impression");
            return this;
        }

        public Criteria andImpressionNotIn(List values) {
            addCriterion("IMPRESSION not in", values, "impression");
            return this;
        }

        public Criteria andImpressionBetween(String value1, String value2) {
            addCriterion("IMPRESSION between", value1, value2, "impression");
            return this;
        }

        public Criteria andImpressionNotBetween(String value1, String value2) {
            addCriterion("IMPRESSION not between", value1, value2, "impression");
            return this;
        }

        public Criteria andPagenumIsNull() {
            addCriterion("PAGENUM is null");
            return this;
        }

        public Criteria andPagenumIsNotNull() {
            addCriterion("PAGENUM is not null");
            return this;
        }

        public Criteria andPagenumEqualTo(String value) {
            addCriterion("PAGENUM =", value, "pagenum");
            return this;
        }

        public Criteria andPagenumNotEqualTo(String value) {
            addCriterion("PAGENUM <>", value, "pagenum");
            return this;
        }

        public Criteria andPagenumGreaterThan(String value) {
            addCriterion("PAGENUM >", value, "pagenum");
            return this;
        }

        public Criteria andPagenumGreaterThanOrEqualTo(String value) {
            addCriterion("PAGENUM >=", value, "pagenum");
            return this;
        }

        public Criteria andPagenumLessThan(String value) {
            addCriterion("PAGENUM <", value, "pagenum");
            return this;
        }

        public Criteria andPagenumLessThanOrEqualTo(String value) {
            addCriterion("PAGENUM <=", value, "pagenum");
            return this;
        }

        public Criteria andPagenumLike(String value) {
            addCriterion("PAGENUM like", value, "pagenum");
            return this;
        }

        public Criteria andPagenumNotLike(String value) {
            addCriterion("PAGENUM not like", value, "pagenum");
            return this;
        }

        public Criteria andPagenumIn(List values) {
            addCriterion("PAGENUM in", values, "pagenum");
            return this;
        }

        public Criteria andPagenumNotIn(List values) {
            addCriterion("PAGENUM not in", values, "pagenum");
            return this;
        }

        public Criteria andPagenumBetween(String value1, String value2) {
            addCriterion("PAGENUM between", value1, value2, "pagenum");
            return this;
        }

        public Criteria andPagenumNotBetween(String value1, String value2) {
            addCriterion("PAGENUM not between", value1, value2, "pagenum");
            return this;
        }

        public Criteria andBookSizeIsNull() {
            addCriterion("BOOK_SIZE is null");
            return this;
        }

        public Criteria andBookSizeIsNotNull() {
            addCriterion("BOOK_SIZE is not null");
            return this;
        }

        public Criteria andBookSizeEqualTo(String value) {
            addCriterion("BOOK_SIZE =", value, "bookSize");
            return this;
        }

        public Criteria andBookSizeNotEqualTo(String value) {
            addCriterion("BOOK_SIZE <>", value, "bookSize");
            return this;
        }

        public Criteria andBookSizeGreaterThan(String value) {
            addCriterion("BOOK_SIZE >", value, "bookSize");
            return this;
        }

        public Criteria andBookSizeGreaterThanOrEqualTo(String value) {
            addCriterion("BOOK_SIZE >=", value, "bookSize");
            return this;
        }

        public Criteria andBookSizeLessThan(String value) {
            addCriterion("BOOK_SIZE <", value, "bookSize");
            return this;
        }

        public Criteria andBookSizeLessThanOrEqualTo(String value) {
            addCriterion("BOOK_SIZE <=", value, "bookSize");
            return this;
        }

        public Criteria andBookSizeLike(String value) {
            addCriterion("BOOK_SIZE like", value, "bookSize");
            return this;
        }

        public Criteria andBookSizeNotLike(String value) {
            addCriterion("BOOK_SIZE not like", value, "bookSize");
            return this;
        }

        public Criteria andBookSizeIn(List values) {
            addCriterion("BOOK_SIZE in", values, "bookSize");
            return this;
        }

        public Criteria andBookSizeNotIn(List values) {
            addCriterion("BOOK_SIZE not in", values, "bookSize");
            return this;
        }

        public Criteria andBookSizeBetween(String value1, String value2) {
            addCriterion("BOOK_SIZE between", value1, value2, "bookSize");
            return this;
        }

        public Criteria andBookSizeNotBetween(String value1, String value2) {
            addCriterion("BOOK_SIZE not between", value1, value2, "bookSize");
            return this;
        }

        public Criteria andBookIntroIsNull() {
            addCriterion("BOOK_INTRO is null");
            return this;
        }

        public Criteria andBookIntroIsNotNull() {
            addCriterion("BOOK_INTRO is not null");
            return this;
        }

        public Criteria andBookIntroEqualTo(String value) {
            addCriterion("BOOK_INTRO =", value, "bookIntro");
            return this;
        }

        public Criteria andBookIntroNotEqualTo(String value) {
            addCriterion("BOOK_INTRO <>", value, "bookIntro");
            return this;
        }

        public Criteria andBookIntroGreaterThan(String value) {
            addCriterion("BOOK_INTRO >", value, "bookIntro");
            return this;
        }

        public Criteria andBookIntroGreaterThanOrEqualTo(String value) {
            addCriterion("BOOK_INTRO >=", value, "bookIntro");
            return this;
        }

        public Criteria andBookIntroLessThan(String value) {
            addCriterion("BOOK_INTRO <", value, "bookIntro");
            return this;
        }

        public Criteria andBookIntroLessThanOrEqualTo(String value) {
            addCriterion("BOOK_INTRO <=", value, "bookIntro");
            return this;
        }

        public Criteria andBookIntroLike(String value) {
            addCriterion("BOOK_INTRO like", value, "bookIntro");
            return this;
        }

        public Criteria andBookIntroNotLike(String value) {
            addCriterion("BOOK_INTRO not like", value, "bookIntro");
            return this;
        }

        public Criteria andBookIntroIn(List values) {
            addCriterion("BOOK_INTRO in", values, "bookIntro");
            return this;
        }

        public Criteria andBookIntroNotIn(List values) {
            addCriterion("BOOK_INTRO not in", values, "bookIntro");
            return this;
        }

        public Criteria andBookIntroBetween(String value1, String value2) {
            addCriterion("BOOK_INTRO between", value1, value2, "bookIntro");
            return this;
        }

        public Criteria andBookIntroNotBetween(String value1, String value2) {
            addCriterion("BOOK_INTRO not between", value1, value2, "bookIntro");
            return this;
        }

        public Criteria andCatalogueIsNull() {
            addCriterion("CATALOGUE is null");
            return this;
        }

        public Criteria andCatalogueIsNotNull() {
            addCriterion("CATALOGUE is not null");
            return this;
        }

        public Criteria andCatalogueEqualTo(String value) {
            addCriterion("CATALOGUE =", value, "catalogue");
            return this;
        }

        public Criteria andCatalogueNotEqualTo(String value) {
            addCriterion("CATALOGUE <>", value, "catalogue");
            return this;
        }

        public Criteria andCatalogueGreaterThan(String value) {
            addCriterion("CATALOGUE >", value, "catalogue");
            return this;
        }

        public Criteria andCatalogueGreaterThanOrEqualTo(String value) {
            addCriterion("CATALOGUE >=", value, "catalogue");
            return this;
        }

        public Criteria andCatalogueLessThan(String value) {
            addCriterion("CATALOGUE <", value, "catalogue");
            return this;
        }

        public Criteria andCatalogueLessThanOrEqualTo(String value) {
            addCriterion("CATALOGUE <=", value, "catalogue");
            return this;
        }

        public Criteria andCatalogueLike(String value) {
            addCriterion("CATALOGUE like", value, "catalogue");
            return this;
        }

        public Criteria andCatalogueNotLike(String value) {
            addCriterion("CATALOGUE not like", value, "catalogue");
            return this;
        }

        public Criteria andCatalogueIn(List values) {
            addCriterion("CATALOGUE in", values, "catalogue");
            return this;
        }

        public Criteria andCatalogueNotIn(List values) {
            addCriterion("CATALOGUE not in", values, "catalogue");
            return this;
        }

        public Criteria andCatalogueBetween(String value1, String value2) {
            addCriterion("CATALOGUE between", value1, value2, "catalogue");
            return this;
        }

        public Criteria andCatalogueNotBetween(String value1, String value2) {
            addCriterion("CATALOGUE not between", value1, value2, "catalogue");
            return this;
        }

        public Criteria andPerfaceContentIsNull() {
            addCriterion("PERFACE_CONTENT is null");
            return this;
        }

        public Criteria andPerfaceContentIsNotNull() {
            addCriterion("PERFACE_CONTENT is not null");
            return this;
        }

        public Criteria andPerfaceContentEqualTo(String value) {
            addCriterion("PERFACE_CONTENT =", value, "perfaceContent");
            return this;
        }

        public Criteria andPerfaceContentNotEqualTo(String value) {
            addCriterion("PERFACE_CONTENT <>", value, "perfaceContent");
            return this;
        }

        public Criteria andPerfaceContentGreaterThan(String value) {
            addCriterion("PERFACE_CONTENT >", value, "perfaceContent");
            return this;
        }

        public Criteria andPerfaceContentGreaterThanOrEqualTo(String value) {
            addCriterion("PERFACE_CONTENT >=", value, "perfaceContent");
            return this;
        }

        public Criteria andPerfaceContentLessThan(String value) {
            addCriterion("PERFACE_CONTENT <", value, "perfaceContent");
            return this;
        }

        public Criteria andPerfaceContentLessThanOrEqualTo(String value) {
            addCriterion("PERFACE_CONTENT <=", value, "perfaceContent");
            return this;
        }

        public Criteria andPerfaceContentLike(String value) {
            addCriterion("PERFACE_CONTENT like", value, "perfaceContent");
            return this;
        }

        public Criteria andPerfaceContentNotLike(String value) {
            addCriterion("PERFACE_CONTENT not like", value, "perfaceContent");
            return this;
        }

        public Criteria andPerfaceContentIn(List values) {
            addCriterion("PERFACE_CONTENT in", values, "perfaceContent");
            return this;
        }

        public Criteria andPerfaceContentNotIn(List values) {
            addCriterion("PERFACE_CONTENT not in", values, "perfaceContent");
            return this;
        }

        public Criteria andPerfaceContentBetween(String value1, String value2) {
            addCriterion("PERFACE_CONTENT between", value1, value2, "perfaceContent");
            return this;
        }

        public Criteria andPerfaceContentNotBetween(String value1, String value2) {
            addCriterion("PERFACE_CONTENT not between", value1, value2, "perfaceContent");
            return this;
        }

        public Criteria andExcerptIsNull() {
            addCriterion("EXCERPT is null");
            return this;
        }

        public Criteria andExcerptIsNotNull() {
            addCriterion("EXCERPT is not null");
            return this;
        }

        public Criteria andExcerptEqualTo(String value) {
            addCriterion("EXCERPT =", value, "excerpt");
            return this;
        }

        public Criteria andExcerptNotEqualTo(String value) {
            addCriterion("EXCERPT <>", value, "excerpt");
            return this;
        }

        public Criteria andExcerptGreaterThan(String value) {
            addCriterion("EXCERPT >", value, "excerpt");
            return this;
        }

        public Criteria andExcerptGreaterThanOrEqualTo(String value) {
            addCriterion("EXCERPT >=", value, "excerpt");
            return this;
        }

        public Criteria andExcerptLessThan(String value) {
            addCriterion("EXCERPT <", value, "excerpt");
            return this;
        }

        public Criteria andExcerptLessThanOrEqualTo(String value) {
            addCriterion("EXCERPT <=", value, "excerpt");
            return this;
        }

        public Criteria andExcerptLike(String value) {
            addCriterion("EXCERPT like", value, "excerpt");
            return this;
        }

        public Criteria andExcerptNotLike(String value) {
            addCriterion("EXCERPT not like", value, "excerpt");
            return this;
        }

        public Criteria andExcerptIn(List values) {
            addCriterion("EXCERPT in", values, "excerpt");
            return this;
        }

        public Criteria andExcerptNotIn(List values) {
            addCriterion("EXCERPT not in", values, "excerpt");
            return this;
        }

        public Criteria andExcerptBetween(String value1, String value2) {
            addCriterion("EXCERPT between", value1, value2, "excerpt");
            return this;
        }

        public Criteria andExcerptNotBetween(String value1, String value2) {
            addCriterion("EXCERPT not between", value1, value2, "excerpt");
            return this;
        }

        public Criteria andAuthorRecommIsNull() {
            addCriterion("AUTHOR_RECOMM is null");
            return this;
        }

        public Criteria andAuthorRecommIsNotNull() {
            addCriterion("AUTHOR_RECOMM is not null");
            return this;
        }

        public Criteria andAuthorRecommEqualTo(String value) {
            addCriterion("AUTHOR_RECOMM =", value, "authorRecomm");
            return this;
        }

        public Criteria andAuthorRecommNotEqualTo(String value) {
            addCriterion("AUTHOR_RECOMM <>", value, "authorRecomm");
            return this;
        }

        public Criteria andAuthorRecommGreaterThan(String value) {
            addCriterion("AUTHOR_RECOMM >", value, "authorRecomm");
            return this;
        }

        public Criteria andAuthorRecommGreaterThanOrEqualTo(String value) {
            addCriterion("AUTHOR_RECOMM >=", value, "authorRecomm");
            return this;
        }

        public Criteria andAuthorRecommLessThan(String value) {
            addCriterion("AUTHOR_RECOMM <", value, "authorRecomm");
            return this;
        }

        public Criteria andAuthorRecommLessThanOrEqualTo(String value) {
            addCriterion("AUTHOR_RECOMM <=", value, "authorRecomm");
            return this;
        }

        public Criteria andAuthorRecommLike(String value) {
            addCriterion("AUTHOR_RECOMM like", value, "authorRecomm");
            return this;
        }

        public Criteria andAuthorRecommNotLike(String value) {
            addCriterion("AUTHOR_RECOMM not like", value, "authorRecomm");
            return this;
        }

        public Criteria andAuthorRecommIn(List values) {
            addCriterion("AUTHOR_RECOMM in", values, "authorRecomm");
            return this;
        }

        public Criteria andAuthorRecommNotIn(List values) {
            addCriterion("AUTHOR_RECOMM not in", values, "authorRecomm");
            return this;
        }

        public Criteria andAuthorRecommBetween(String value1, String value2) {
            addCriterion("AUTHOR_RECOMM between", value1, value2, "authorRecomm");
            return this;
        }

        public Criteria andAuthorRecommNotBetween(String value1, String value2) {
            addCriterion("AUTHOR_RECOMM not between", value1, value2, "authorRecomm");
            return this;
        }
    }
}